package com.observer.mine;

public class Main {
    public static void main(String[] args) {
        WarmPublicService warmPublicService = new WarmPublicService();
        OnePerson onePerson = new OnePerson();

        warmPublicService.addPerson(onePerson);

        warmPublicService.sendMsg("第一条消息");
    }
}
